package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司表 company
 * 
 * @author ruoyi
 * @date 2019-05-28
 */
public class Company extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 公司代码 */
	private Integer id;
	/** 公司名称 */
	private String companyName;
	/** 公司联系方式 */
	private String phone;
	/** 公司地址 */
	private String address;
	/** 公司账户 */
	private String account;
	/** 联系人 */
	private String contactName;
	/** 状态 */
	private Integer status;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setCompanyName(String companyName) 
	{
		this.companyName = companyName;
	}

	public String getCompanyName() 
	{
		return companyName;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}
	public void setAccount(String account) 
	{
		this.account = account;
	}

	public String getAccount() 
	{
		return account;
	}
	public void setContactName(String contactName) 
	{
		this.contactName = contactName;
	}

	public String getContactName() 
	{
		return contactName;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyName", getCompanyName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("account", getAccount())
            .append("contactName", getContactName())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
